package com.imooc.repository;

import com.imooc.dataobject.SellerInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * SellerInfo Repository
 * @author liuhuan
 * @date 2018/7/22 10:10
 * @description
 */
public interface SellInfoRepository extends JpaRepository<SellerInfo,String>{
    /**
     * 通过openId查询用户信息
     * @param openId
     * @return
     */
    SellerInfo findByOpenId(String openId);
}
